import { TableConfig } from '@/components/data-table/types'

export const tableConfig: TableConfig = {
  showToolbar: true,
  showCheckbox: true,
  showPagination: true,
  tableColumns: [
    {
      label: '名称',
      prop: 'name',
      width: 150,
      fixed: 'left'
    },
    {
      label: '描述',
      prop: 'description',
      minWidth: 200
    },
    {
      label: '创建时间',
      prop: 'create_time',
      width: 200,
      slot: 'createTime'
    },
    {
      label: '状态',
      prop: 'status',
      width: 80,
      slot: 'status'
    },
    {
      label: '操作',
      minWidth: 120,
      slot: 'operation',
      fixed: 'right'
    }
  ]
}
